PESetSectionHeight

Use PESetSectionHeight to set the section height information for the specified section. This is the replacement API Call for PESetMinimumSectionHeight and should be used for all new development.

C Syntax
BOOL CRPE_API PESetSectionHeight(
        short printJob,
        short sectionCode,
        short height );
Parameters

printJob

Specifies the print job for which you want to set section height information.

sectionCode

Specifies the Section Codes for the section(s) for which you want to set section height information. See Working with section codes.

height

The section height measured in twips.

Returns
VB Syntax
Declare Function PESetSectionHeight Lib "crpe32.dll" (
    ByVal printJob As Integer, ByVal sectionCode As Integer,
    ByVal height As Integer ) As Integer
Delphi Syntax
function PESetSectionHeight (
    printJob: Smallint;
    sectionCode:     Smallint;
    Height: Smallint (*in twips*)
    ): Bool stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com